﻿Imports System.Windows.Forms
Public Module initialize

    ''' <summary>
    ''' 設定控制下載任務ListView的GUI來源
    ''' </summary>
    Public Sub SetDownloadStandByListView(ByVal ListView As ListView)
        DownloadListView.StandByListView = ListView
    End Sub

    ''' <summary>
    ''' 設定控制下載完成任務ListView的GUI來源
    ''' </summary>
    Public Sub SetDownloadOkListView(ByVal ListView As ListView)
        DownloadListView.OkListView = ListView
    End Sub

    ''' <summary>
    ''' 設定控制上傳任務ListView的GUI來源
    ''' </summary>
    Public Sub SetUpFileStandByListView(ByVal ListVIew As ListVIew)
        UpFileListView.StandByListView = ListVIew
    End Sub

    ''' <summary>
    ''' 設定控制上傳完成任務ListView的GUI來源
    ''' </summary>
    Public Sub SetUpFileOkListView(ByVal ListView As ListView)
        UpFileListView.OkListView = ListView
    End Sub

    ''' <summary>
    ''' 設定下載任務ListViewItem集合來源
    ''' </summary>
    Public Sub SetDownloadStandByListViewItem(ByVal ListViewItem As List(Of ListViewItem))
        DownloadListView.ListViewStandByItem = ListViewItem
    End Sub

    ''' <summary>
    ''' 設定下載完成任務ListViewItem集合來源
    ''' </summary>
    Public Sub SetDownloadOkListViewItem(ByVal ListViewItem As List(Of ListViewItem))
        DownloadListView.ListViewOkItem = ListViewItem
    End Sub

    ''' <summary>
    ''' 設定上傳任務ListViewItem集合來源
    ''' </summary>
    Public Sub SetUpFileStandByListViewItem(ByVal ListViewItem As List(Of ListViewItem))
        UpFileListView.ListViewStandByItem = ListViewItem
    End Sub

    ''' <summary>
    ''' 設定上傳完成任務ListView集合來源
    ''' </summary>
    Public Sub SetUpFileOkListViewItem(ByVal ListViewItem As List(Of ListViewItem))
        UpFileListView.ListViewOkItem = ListViewItem
    End Sub

End Module
